#pragma once

#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN            // Exclude rarely-used stuff from Windows headers
#endif

#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS      // some CString constructors will be explicit

#include <afxwin.h>         // MFC core and standard components

#ifdef MFCDLL_EXPORTS
#define MFCDLL_API extern "C" __declspec(dllexport)
#else
#define MFCDLL_API extern "C" __declspec(dllimport)
#endif

class CMfcDllApp : public CWinApp
{
public:
	CMfcDllApp();

// Overrides
public:
	virtual BOOL InitInstance();
	virtual int  ExitInstance(); // return app exit code
	DECLARE_MESSAGE_MAP()
};

// Leaks 4 allocations
MFCDLL_API void MFC_LeakSimple();
// Leaks 3 allocations
MFCDLL_API void MFC_LeakArray();
